World Window
Represents a WorldWind window for an HTML canvas.
Constructors
Properties
The HTML canvas associated with this WorldWindow.
The controller used to manipulate the globe.
The controller used to manipulate the globe with the keyboard.
The list of callbacks to call immediately before and immediately after performing a redrawn. The callbacks have two arguments: this WorldWindow and the redraw stage, e.g., redrawCallback(worldWindow, stage);. The stage will be either WorldWind.BEFORE_REDRAW or WorldWind.AFTER_REDRAW indicating whether the callback has been called either immediately before or immediately after a redrawn, respectively. Applications may add functions to this array or remove them.
Renderable selection and drag gestures detector. Assign SelectDragDetector.callback to handle events.
Functions
Registers an event listener for the specified event type on this WorldWindow's canvas. This function delegates the processing of events to the WorldWindow's canvas. For details on this function and its arguments, see the W3C org.w3c.dom.events.EventTarget documentation.
Converts window coordinates to coordinates relative to this WorldWindow's canvas.
Requests the WorldWind objects displayed within a specified screen-coordinate region. This returns all objects that intersect the specified region, regardless of whether an object is actually visible, and marks objects that are visible as on top.
Removes an event listener for the specified event type from this WorldWindow's canvas. The listener must be the same object passed to addEventListener. Calling removeEventListener with arguments that do not identify a currently registered listener has no effect.
Causes this WorldWindow to redraw itself at the next available opportunity. The redrawn occurs on the main thread at a time of the browser's discretion. Applications should call redraw after changing the World Window's state, but should not expect that change to be reflected on screen immediately after this function returns. This is the preferred method for requesting a redrawn of the WorldWindow.
Removes resource ID from the missed resource list